package cn.muqingfeng.api;

public class Api {

	public static final String BASE_HOST = "http://www.muqingfeng.cn";

	public static final String IMAGE_HOST = "http://www.muqingfeng.cn/";

	public static final String HOST = "http://www.muqingfeng.cn/restful_api.php";
//	public static final String HOST = "http://dz.ly95.me/restful/index.php";
	

	public static final String LOGIN_URL = HOST + "?mod=login";

	public static final String FIND_PASSWORD_URL = HOST + "?mod=lostpassword";

	public static final String REGIST_URL = HOST + "?mod=register";

	public static final String CHANGE_PASSWORD = HOST + "?mod=profilepassword";

	public static final String ARTICLES_URL = HOST + "?mod=forumdisplay";

	public static final String ARTICLES_ALL_URL = HOST + "?mod=viewallthread";

	public static final String CHANGE_AVATAR_URL = HOST + "?mod=rectavatar";

	public static final String AVATAR_URL = IMAGE_HOST + "/uc_server/avatar.php?uid=%s&size=middle&random=1";

	public static final String ARTICLE_DETAIL_URL = HOST + "?mod=viewthread";

	public static final String SEND_ARTICLE_URL = HOST + "?mod=newthread&fid=%d";

	public static final String MY_ARTICLE_URL = HOST + "?mod=mythread";

	public static final String MY_FAV_ARTICLE_URL = HOST + "?mod=myfavthread";

	public static final String ADD_FAV_URL = HOST + "?mod=addfav";

	public static final String DEL_FAV_URL = HOST + "?mod=delfav";

	public static final String WEB_DETAIL_URL = BASE_HOST + "/forum.php?mod=viewthread&tid=%s&mobile=2";

	public static final String REPLY_ARTICLE_URL = HOST + "?mod=sendreply";
}
